package mx.com.sinformex.simbel.utils;

import java.util.Comparator;

import mx.com.sinformex.simbel.db.eos.Report;

/**
 * @author Oscar Ivan Hernandez Ventura [ oscar at sinformex dot com dot mx]
 *
 * @version $ Id : ReportSorter.java , v 1.0 Jun 11, 2009 angellore $
 */
public class ReportSorter implements Comparator {

	public int compare(Object arg0, Object arg1) {
		Report r1 = (Report) arg0;
		Report r2 = (Report) arg1;
		return r1.getReportId().compareTo(r2.getReportId());
	}

}
